﻿using NUnit.Framework;
using Vk.Methods.Pages;
using Vk.Methods.Status;
using Vk.Methods.Storage;

namespace UnitTests
{
    [TestFixture]
    public class PagesTests : TestsBase
    {
        [Test]
        public void GetTest()
        {
            IsSignatureUpdated(typeof(Pages).GetMethod("Get"));
        }

        [Test]
        public void SaveTest()
        {
            IsSignatureUpdated(typeof(Pages).GetMethod("Save"));
        }

        [Test]
        public void SaveAccessTest()
        {
            IsSignatureUpdated(typeof(Pages).GetMethod("SaveAccess"));
        }

        [Test]
        public void GetHistoryTest()
        {
            IsSignatureUpdated(typeof(Pages).GetMethod("GetHistory"));
        }

        [Test]
        public void GetTitlesTest()
        {
            IsSignatureUpdated(typeof(Pages).GetMethod("GetTitles"));
        }

        [Test]
        public void GetVersionTest()
        {
            IsSignatureUpdated(typeof(Pages).GetMethod("GetVersion"));
        }

        [Test]
        public void ParseWikiTest()
        {
            IsSignatureUpdated(typeof(Pages).GetMethod("ParseWiki"));
        }

        [Test]
        public void ClearCacheTest()
        {
            IsSignatureUpdated(typeof(Pages).GetMethod("ClearCache"));
        }
    }
}